import request from '@/utils/request'
import { commonParam } from './configAPI'
import { tabApiData } from './recommend-tab'
export function getBanner(tab: number) {
  const apiData = tabApiData(tab)
  commonParam.data = apiData.tabApi
  commonParam.sign = apiData.sign
  return request({
    url: '/cgi-bin/musics.fcg',
    method: 'get',
    params: commonParam
  })
}
